package com.digital.herbarium.Mapper;

import com.digital.herbarium.Entity.Menu;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface MenuMapper {

    List<Menu> getMenuInfo(Menu menu);

    List<Menu> getMenuByRoleId(@Param("ids") Long[] id);
}
